package test.fr.lna.sandbox;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import fr.lna.chess.model.COULEUR_PIECE;
import fr.lna.chess.model.TYPE_PIECE;
import fr.lna.chess.util.FenService;

/**
 * 
 * @author Rouviere_x
 *
 */
public class Piece implements MatObj {

	private COULEUR_PIECE c;
	private TYPE_PIECE t;
	
	@Autowired
	@Qualifier("fen.service")
	private FenService fenService;
	
	@Override
	public String description() {
		return fenService.getFEN(t,c);
	}

}
